package com.yunpai.thread;

/**
 * 使用递归演示单线程
 */
public class SingleThread {

    public void methodOne() {
        methodTwo();
    }

    public void methodTwo() {
        System.out.println("hello");
    }

    public static void main(String[] args) {
        SingleThread singleThread = new SingleThread();
        singleThread.methodOne();
    }
}
